package com.active.hackson.database.bean;

import java.io.Serializable;

public class Column implements Serializable {
    private static final long serialVersionUID = 4074194289474964618L;
    private String            Name;
    private String            Alias;
    private int               type;
    private boolean           primaryKey;
    private boolean           nullable;
    private int               size;

    public String getName() {
        return Name;
    }

    public void setName( String name ) {
        Name = name;
    }

    public String getAlias() {
        return Alias;
    }

    public void setAlias( String alias ) {
        Alias = alias;
    }

    public int getType() {
        return type;
    }

    public void setType( int type ) {
        this.type = type;
    }

    public boolean getPrimaryKey() {
        return primaryKey;
    }

    public void setPrimaryKey( boolean primaryKey ) {
        this.primaryKey = primaryKey;
    }

    public boolean getNullable() {
        return nullable;
    }

    public void setNullable( boolean nullable ) {
        this.nullable = nullable;
    }

    public int getSize() {
        return size;
    }

    public void setSize( int size ) {
        this.size = size;
    }
}
